-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(payments): update PaymentErrorView to utilize Tailwind #13745
Conversation
33b736e
to
86c7481
Compare
Similar to |
86c7481
to
6b5febb
Compare
packages/fxa-payments-server/src/components/PaymentErrorView/index.tsx
Outdated
Show resolved
Hide resolved
6701ea3
to
bca87c0
Compare
1ba7d47
to
d8f601d
Compare
8ec1a65
to
6160087
Compare
…wind Because: * We want to convert to Tailwind across fxa for consistency and to improve overall maintenance * We want to improve responsiveness and UI/UX * We want to improve accessibility This commit: * Replaces all CSS/SCSS with Tailwind utility classes * Removes .css and .scss files * Reworks Storybook files Closes #13583
d0d295a
to
fe981da
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉 LGTM!
Just added the nit from our discussion (not a blocker, but think it should be updated to be consistent with other stories).
Also, I added a comment regarding the revision to the style below as it was done to match CouponForm
.
</BrowserRouter> | ||
)); | ||
export default { | ||
title: 'components/PaymentError', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: should this be components/PaymentErrorView
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I kept it the same as it was before. Leaving it for now, but will address when we return to update after the blockers have been addressed.
Because
This pull request
.subscription-title
+.payment-error
which uses the mixincheckout-title()
.payment-error
which uses the mixincheckout-view()
.scss
file that is specific to thePaymentErrorView
component with the exception of classes mentioned aboveIssue that this pull request solves
Closes: #13583
Checklist
Put an
x
in the boxes that apply